package com.yixing.tech.common.autoline.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/** 堆垛机WCS上报打开/或关闭光栅完成结果的请求参数 */
public class AgvRasterResult implements Serializable {

    @JsonProperty("AGV_NO")
    private Integer AGV_NO;         // AGV编号
    @JsonProperty("OPTICAL_NO")
    private Integer OPTICAL_NO;     // 光栅编号
    @JsonProperty("FINISH_STATE")
    private Integer FINISH_STATE;   // 光栅完成状态:  1打开完成 2关闭完成

    public AgvRasterResult() {
    }

    public AgvRasterResult(Integer AGV_NO, Integer OPTICAL_NO, Integer FINISH_STATE) {
        this.AGV_NO = AGV_NO;
        this.OPTICAL_NO = OPTICAL_NO;
        this.FINISH_STATE = FINISH_STATE;
    }

    public Integer getAGV_NO() {
        return AGV_NO;
    }

    public void setAGV_NO(Integer AGV_NO) {
        this.AGV_NO = AGV_NO;
    }

    public Integer getOPTICAL_NO() {
        return OPTICAL_NO;
    }

    public void setOPTICAL_NO(Integer OPTICAL_NO) {
        this.OPTICAL_NO = OPTICAL_NO;
    }

    public Integer getFINISH_STATE() {
        return FINISH_STATE;
    }

    public void setFINISH_STATE(Integer FINISH_STATE) {
        this.FINISH_STATE = FINISH_STATE;
    }

    @Override
    public String toString() {
        return "AgvRasterResult{" +
                "AGV_NO=" + AGV_NO +
                ", OPTICAL_NO=" + OPTICAL_NO +
                ", FINISH_STATE=" + FINISH_STATE +
                '}';
    }
}
